.table {
  display: table;
}
.table nav {
  display: table-caption;
  text-align: center;
  color: red;
  caption-side: top;
  background: #000000;
}
.table section:nth-of-type(1) {
  display: table-header-group;
  background: #555555;
  color: white;
}
.table section:nth-of-type(2) {
  display: table-row-group;
}
.table section:nth-of-type(3) {
  display: table-footer-group;
  background: #f3f3f3;
}
.table section ul {
  display: table-row;
}
.table section ul li {
  display: table-cell;
  border: solid 1px #dddddd;
  padding: 10px;
}
